#ifndef SLICE_H
#define SLICE_H
#include "h264_set.h"

typedef enum {
    SLICE_TYPE_P  = 0,
    SLICE_TYPE_B  = 1,
    SLICE_TYPE_I  = 2,
} slice_type_e;

typedef struct {
    struct sps_param_t *sps;
    struct pps_param_t *pps;
    int i_first_mb;
    int i_last_mb;
    slice_type_e slice_type;
    int i_frame_num;
    int i_idr_pic_id;
    int i_qp;
    int i_qp_delta;
    int i_disable_deblocking_filter_idc;
    int i_alpha_c0_offset;
    int i_beta_offset;
    int i_cabac_init_idc;
} h264_slice_header_t;



#endif